﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AutoParkingManagement
{
    public class EntryExit
    {
        private Guid _id;
        private Card _card=null;
        private string _entryPlateNumber = String.Empty;
        private string _plateNumber = String.Empty;
        private byte[] _frontImageEntry;
        private byte[] _rearImageEntry;
        private byte[] _frontImageExit;
        private byte[] _rearImageExit;
        private DateTime _entryTime;
        private DateTime _exitTime;
        private bool _isEntry;
        private long _price;
        private string _cardType = String.Empty;
        private string _message = String.Empty;

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Card Card
        {
            get { return _card; }
            set { _card = value; }
        }

        public string EntryPlateNumber
        {
            get { return _entryPlateNumber; }
            set { _entryPlateNumber = value; }
        }

        public string PlateNumber
        {
            get { return _plateNumber; }
            set { _plateNumber = value; }
        }

        public byte[] FrontImageEntry
        {
            get { return _frontImageEntry; }
            set { _frontImageEntry = value; }
        }

        public byte[] RearImageEntry
        {
            get { return _rearImageEntry; }
            set { _rearImageEntry = value; }
        }

        public byte[] FrontImageExit
        {
            get { return _frontImageExit; }
            set { _frontImageExit = value; }
        }

        public byte[] RearImageExit
        {
            get { return _rearImageExit; }
            set { _rearImageExit = value; }
        }

        public DateTime EntryTime
        {
            get { return _entryTime; }
            set { _entryTime = value; }
        }

        public DateTime ExitTime
        {
            get { return _exitTime; }
            set { _exitTime = value; }
        }

        public bool IsEntry
        {
            get { return _isEntry; }
            set { _isEntry = value; }
        }

        public long Price
        {
            get { return _price; }
            set { _price = value; }
        }

        public string CardType
        {
            get { return _cardType; }
            set { _cardType = value; }
        }

        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }

        #endregion

        public EntryExit()
        {
        }

    }
}
